844.5. For the purposes of section 844.3, the construction, renovation or alteration of a building is completed at the earlier of the day on which the construction, renovation or alteration is actually completed and the day on which all or substantially all of the building is used for the purpose for which it was constructed, renovated or altered.